//
//  NSDate+Date.h
//  BaiSi
//
//  Created by Sycamore on 16/5/5.
//  Copyright © 2016年 Sycamore. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Date)

//是否为今年
- (BOOL)isThisYear;

//是否为今天
- (BOOL)isToday;

//是否为昨天
- (BOOL)isYesterday;

//获得与现在的日期差值
- (NSDateComponents *)deltaComponentsFromNow;


@end
